package me.xiaoyan.java.spring.service;

import me.xiaoyan.java.spring.po.Account;
import me.xiaoyan.java.spring.po.User;

import java.util.List;

public interface AccountService {

    public boolean create(Account account);
    public void update(Account account);
    public void delete(Account account);
    public Account findById(Integer id);
    public List<Account> findAll();
    public Account login(Account account);
}
